Skip to content

Data extensions editor: Remove buttons that are no longer needed#2635

Merged
shati-patel merged 1 commit intomainfrom
shati-patel/remove-old-buttons
Jul 25, 2023
Merged

Data extensions editor: Remove buttons that are no longer needed#2635
shati-patel merged 1 commit intomainfrom
shati-patel/remove-old-buttons

Conversation

@shati-patel
Copy link
Copy Markdown
Contributor

@shati-patel shati-patel commented Jul 25, 2023

Removes/renames some buttons. See internal issue for more details!

✌🏽 Application mode:
image

😎 Framework mode:
image

Checklist

N/A: feature-flagged for internal use ⛳

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

</VSCodeButton>
</>
{viewState.mode === Mode.Framework && (
<VSCodeButton onClick={onGenerateFromSourceClick}>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just removed Application mode from the conditional. Should we also remove the references to Application mode from the underlying function here, or are we expecting to use that somewhere else? 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, ignore me! It looks like this function is also called from the "Model from source" button in application mode, so will keep it as-is:
image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that's right. That code is still called in both modes.

@shati-patel shati-patel marked this pull request as ready for review July 25, 2023 11:00
@shati-patel shati-patel requested a review from a team as a code owner July 25, 2023 11:00
Copy link
Copy Markdown
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and tested locally too

@shati-patel shati-patel merged commit cdcbdc6 into main Jul 25, 2023
@shati-patel shati-patel deleted the shati-patel/remove-old-buttons branch July 25, 2023 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants